From 80d7b6cbe556a04c05abf8aad2450ea9567acbf3 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 20 Dec 2009 20:32:24 +0000 Subject: [PATCH] Bushnell fixes for 64-bit system. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3840 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/bushnell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpsbabel/bushnell.c b/gpsbabel/bushnell.c index 0b7a0403f..513edf3a1 100644 --- a/gpsbabel/bushnell.c +++ b/gpsbabel/bushnell.c @@ -177,13 +177,13 @@ wr_deinit(void) { */ static void bushnell_read(void) { - long lat_tmp,lon_tmp; + gbint32 lat_tmp,lon_tmp; unsigned int unknown; unsigned int icon; waypoint *wpt_tmp = waypt_new(); - lat_tmp = gbfgetuint32(file_in); - lon_tmp = gbfgetuint32(file_in); + lat_tmp = gbfgetint32(file_in); + lon_tmp = gbfgetint32(file_in); icon = gbfgetc(file_in); wpt_tmp->icon_descr = bushnell_get_name_from_symbol(icon); -- 2.30.2